Incorrect Logic to select a set of all checkboxes

join shbcf.ru